Online documentation - WebsydianExpress v3.5 |
When saving your document templates to the file system on any platform the file will be encoded using the character set used by your system or you may specify a character set to be used for encoding when saving the file. Normal character sets used to encode files are ISO-8859-1, Windows-1252 or UTF-8.
WebsydianExpress are required to be informed what character set is used for saving your document templates. This is handled differently on the platforms supported by WebsydianExpress as follows.
With the java version of WebsydianExpress you are able to specify the character set used by your document templates in the obusr.properties file located in the directory WEB-INF/classes of the servlet application.
Locate and set the property HTML.TEMPLATE_ENCODING and set it according to your character set.
E.g. HTML.TEMPLATE_ENCODING=UTF-8
WARNING: Using UTF-8 Java does not support the use of BOM characters make sure that you save the document template without these characters.
Currently there is no support for encoding on the Windows platform of WebsydianExpress all document templates are read binary.
This means that if you would like to use UTF-8 you will need to save the document templates as UTF-8 and then specify the UTF-8 as the character set used on all responses to the browser.
For the iSeries variant of WebsydianExpress the character set or CCSID specified on the file is used for translating the document templates to the correct CCSID of the job before it is processed.
You can check/change the CCSID of the document templates by doing he following x-x-x-x-